#include "cv.h"
#include "highgui.h"
#include "cvaux.h"
using namespace std;

class ImageProcC
{
public:
	static ImageProcC* instance();
	void init();
	~ImageProcC();
	void update();
	void close();

private:
    CvCapture* m_capture;
	IplImage*  m_frame;
	CvGaussBGStatModelParams* m_params;
	CvBGStatModel* m_bgModel;
private:
	ImageProcC();
};

#ifndef __ImageProc_h_
#define __ImageProc_h_

#endif //__ImageProc_h_